/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "排班计划",TableName = "Shiftplanning")]
    public partial class Shiftplanning:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///计划编号
       /// </summary>
       [Display(Name ="计划编号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ShiftCode { get; set; }

       /// <summary>
       ///计划名称
       /// </summary>
       [Display(Name ="计划名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ShiftName { get; set; }

       /// <summary>
       ///班组类型
       /// </summary>
       [Display(Name ="班组类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string TeamType { get; set; }

       /// <summary>
       ///开始日期
       /// </summary>
       [Display(Name ="开始日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? BeginTime { get; set; }

       /// <summary>
       ///结束日期
       /// </summary>
       [Display(Name ="结束日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? EndTime { get; set; }

       /// <summary>
       ///轮班方式
       /// </summary>
       [Display(Name ="轮班方式")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Shiftmodel { get; set; }

       /// <summary>
       ///倒班方式
       /// </summary>
       [Display(Name ="倒班方式")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Pourmodel { get; set; }

       /// <summary>
       ///单据状态
       /// </summary>
       [Display(Name ="单据状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Documentstatus { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(300)]
       [Column(TypeName="nvarchar(300)")]
       [Editable(true)]
       public string RemarkText { get; set; }

       
    }
}